home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000360_news@newsmaster….columbia.edu _Wed Aug 12 01:02:50 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
7KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA19265
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 12 Aug 1998 01:02:50 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA21606
for kermit.misc@watsun; Wed, 12 Aug 1998 01:02:49 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: K95 telnet to dosemu under Linux
Date: 12 Aug 1998 05:02:42 GMT
Organization: Columbia University
Lines: 153
Message-ID: <6qr7li$nb7$1@apakabar.cc.columbia.edu>
References: <PHK01Yv1uIJW084yn@eskimo.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:9077
In article <PHK01Yv1uIJW084yn@eskimo.com>,
Frank Sergeant <frank.sergeant@pobox.com> wrote:
: I am trying to use Kermit95 (version 1.1.17) on W95 to
: telnet to a Linux machine running the DOS emulator (dosemu
: version 0.66.7) to run a Clipper application.
:
: I have made some progress with this but I still have a
: few problems.
: DISPLAY:
:
: I've tried various terminal emulations but the best seems
: to be K95's LINUX. Dosemu has a configuration file where
: I can set the character set. The choices seem to be 'ibm'
: or 'latin'. When I set dosemu to 'ibm', the box drawing
: characters show correctly but all the text is unreadable.
: When I set dosemu to 'latin', the text is readable but the
: box drawing characters are substitutes. I suppose it is
: dosemu that decides on the substitutes (?). For example,
: what should be a double horizontal line comes over as an
: equal sign (0x3D) and what should be a vertical double
: line comes over as an "I" (0x49).
So what does the documentation say that the "ibm" character-set
is? Is it CP437 or CP850?
And what is your Code Page set to on Windows 95?
Most likely it is CP437.
The SHOW CHARACTER-SETS command will tell you what the code
page is set to in K95.
: The best I've come up with so far is this:
:
: K95 LINUX, 25x80, no status line, latin1-iso
: Linux/dosemu latin
My guess would be "ibm" on dosemu and "set term remote cp437"
in K95. I would also try "SCOANSI" instead of "Linux" since
it is a PC based terminal emulation unlike the Linux console
with is VT terminal based.
: KEYSTROKES:
:
: Most of the keys seem to work ok. The exceptions are
: Ctrl-PgDn and Ctrl-PgUp and alt-C and other alt- keys.
That is because these keystrokes are mapped to K95 functions.
The linux console and scoansi do not define these keys.
: I've managed to turn on Ctrl-PgDn and Ctrl-PgUp by
: putting the following in a CLIPPER.KSC file and then
: 'taking' it:
:
: set key \1314 \30 ; Ctrl-PageDown
: set key \5410 \30 ; Gray-Ctrl-PageDown
: set key \1313 \31 ; Ctrl-PageUp
: set key \5409 \31 ; Gray-Ctrl-PageUp
This defines the keystrokes to be Control characters, RS and US.
This is not a normal mapping. If this is what they are supposed
to be then you will need documentation for this as part of dosemu.
: With that, the Ctrl-PgUp keys work perfectly but the
: Ctrl-PgDn keys requires pressing them twice (any idea
: why or how to fix that?). (I discovered the numbers
: 30 and 31 by looking in the CLIPPER INKEY.CH include
: file.)
This doesn't make any sense unless you have also redefined the
K95 escape character to be Control-Underscore. The normal
escape character is Control-Right Bracket.
: When I try a similar approach for alt-C
: set key \2147 \302 ; Alt-C
:
: it doesn't work right. Alt-C gets set to \46 instead.
: (I note that 302 mod 256 is 46, so I assume that the
: codes are limited to a single byte.)
What is \302 supposed to be?
: The reason I
: wanted to set it to \302 is that is the code used
: by the Clipper application for testing whether an
: alt-C key was pressed. I suppose I'll run into the
: same problem with all the alt- keys. Any ideas on
: how to work around this?
Try
SET KEY \01\46
: I tried turning on PCTERM by typing Ctrl-CapsLock while
: connected. It didn't seem to do anything (and alt-X
: still returned me to command mode). I also tried typing
:
: SET TERM PCTERM
:
: in command mode, but got the error "?No keywords match -
: pcterm". I wondered if I might have seen a mention that
: PCTERM wasn't working in K95 1.1.17, but couldn't find
: such a mention when I tried to find it again. Even if
: I could turn PCTERM on, I'm not sure whether the Linux
: box and/or dosemu would be set to cope with it.
As documented in the New Bugs file:
ftp://ftp.kermit-project.org/kermit/k95/newbugs.txt
PCTERM functionality was left out of 1.1.17 due to a fluke
compile flag error. However, PCTERM is not the solution to your
keyboard problem. You need to read your INKEY.CH file and
create an appropriate keymap file for K95.
: SUMMARY:
:
: So very much is working well that I am hopeful some
: or all of the remaining problems can be solved or worked
: around. The most important probably is the box drawing
: character problem (better to look good than to work good,
: as Billy Crystal might say). Users could live with having
: to type Ctrl-PgDn twice. I might substitute alternate
: keystrokes for whatever functions are now invoked by alt-
: keys.
:
: Suggestions gratefully accepted. When/if I get it
: all working, I'll be glad to post the final dosemu.conf
: and CLIPPER.KSC files.
:
: I also hope to install a later (non-stable?) version of
: dosemu in case that changes anything for the better.
:
: I note that if I log into the Linux box from another Linux
: box and use Linux's telnet, the display does have both
: proper box drawing characters and readable text (in that
: case I set dosemu to 'ibm'). There, though, I haven't
: found a solution yet to turning on the Ctrl-PgDn and
: Ctrl-PgUp keys, however the alt- keys work ok. Is that
: a clue that PCTERM would be useful from K95? However,
: for the application I have in mind, it is very unlikely
: that running Linux on all the workstations will be
: acceptable, so I'm really hoping for a K95 solution.
Its a clue that you should be using "ibm" and CP437.
What is the TERM type when you Telnet from Linux?
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org